package com.dk.service;

import com.dk.pojo.playerData.PlayerData;
import com.dk.pojo.playerData.PlayerDataVO;
import com.github.pagehelper.PageInfo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface PlayerDataService {
    Integer getInfo(PlayerData playerData, HttpServletRequest request);

    Integer selectUser(PlayerData playerData);

    PageInfo<PlayerData> show(PlayerData playerData,Integer pageNumber, Integer pageSize);

    List<PlayerData> getInfoToo();

    boolean addInfo(PlayerData playerData);

    PlayerData toUpdatet(Integer id);

    boolean updateInfo(PlayerData playerData);

    boolean deleteInfo(Integer id);

    PageInfo<PlayerDataVO> getPlayerInfo(Integer playerAccount, Integer pageNumber, Integer pageSize);

    PlayerData toUpdateByPlayerAccount(Integer playerAccount);

}
